Map Snapshotter
The map snapshotter creates a large of the map, rendered off the UI thread. The snapshotter itself must be used on the UI thread (for access to the main looper)
Constructors
Types
Link copied to clipboard
Can be used to get notified of errors in snapshot generation
Link copied to clipboard
Get notified on snapshot completion.
Functions
Link copied to clipboard
Updates the snapshotter with a new CameraPosition
Link copied to clipboard
Sets observer for a snapshotter
Link copied to clipboard
Updates the snapshotter with a new LatLngBounds
Link copied to clipboard
Updates the snapshotter with a new style json
Link copied to clipboard
Updates the snapshotter with a new style url
Link copied to clipboard
fun start(callback: MapSnapshotter.SnapshotReadyCallback, errorHandler: MapSnapshotter.ErrorHandler? = null)
Starts loading and rendering the snapshot. The callbacks will be fired on the calling thread.